home *** CD-ROM | disk | FTP | other *** search
/ Macworld Expo - Develope…Central & Net Innovations / Developer Central and Net Innovators (MacWorld Expo) (January 1999).iso / Developer Central / Bowers Development / Demo AppMaker / Examples / PowerPlant / Everything / DModalRadiosData.h < prev    next >
Encoding:
Text File  |  1998-10-11  |  1014 bĀ   |  52 lines  |  [TEXT/CWIE]

  1. // DModalRadiosData -- data class for Everything
  2.  
  3. #pragma once
  4.  
  5. #include "AMDataDef.h"
  6.  
  7. class LFileStream;
  8.  
  9.  
  10. const long    idRadioGroup2        = 'Rad2';
  11. const long    idGroup2        = 'Gro2';
  12. const long    idGraphic3        = 'Gra3';
  13. const long    idBevel2        = 'Bev2';
  14. const long    idText2        = 'Tex3';
  15.  
  16.  
  17. //----------
  18. class DModalRadiosData : public AMDataDef {
  19. public:
  20.                 DModalRadiosData ();
  21.     virtual        ~DModalRadiosData ();
  22.  
  23. public:
  24.     void        CopyFrom        (DModalRadiosData*        inOther);
  25.     void        ReadFromFile    (LFileStream*        inFile);
  26.     void        WriteToFile        (LFileStream*        inFile);
  27.  
  28. public:        // accessors
  29.     SInt16        GetRadioGroup2 () const;
  30.     void        SetRadioGroup2    (SInt16        inValue);
  31.  
  32.     SInt16        GetGroup2 () const;
  33.     void        SetGroup2    (SInt16        inValue);
  34.  
  35.     SInt16        GetGraphic3 () const;
  36.     void        SetGraphic3    (SInt16        inValue);
  37.  
  38.     SInt16        GetBevel2 () const;
  39.     void        SetBevel2    (SInt16        inValue);
  40.  
  41.     SInt16        GetText2 () const;
  42.     void        SetText2    (SInt16        inValue);
  43.  
  44.  
  45. protected:
  46.     SInt16        mRadioGroup2;
  47.     SInt16        mGroup2;
  48.     SInt16        mGraphic3;
  49.     SInt16        mBevel2;
  50.     SInt16        mText2;
  51. };
  52.